package com.woniu.owner.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniu.common.ResponseData;
import com.woniu.owner.entity.MaintenanceInfo;
import com.woniu.owner.entity.ScmspOwnerRepair;
import com.woniu.owner.service.ScmspOwnerRepairService;
import com.woniu.owner.mapper.ScmspOwnerRepairMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author admin
 * @description 针对表【scmsp_owner_repair】的数据库操作Service实现
 * @createDate 2025-01-09 15:36:05
 */
@Service
public class ScmspOwnerRepairServiceImpl extends ServiceImpl<ScmspOwnerRepairMapper, ScmspOwnerRepair>
        implements ScmspOwnerRepairService {

    @Override
    public ResponseData<?> queryAllRepair() {
        List<ScmspOwnerRepair> ownerRepairs = lambdaQuery().list();
        return new ResponseData<>().ok(ownerRepairs);
    }

}




